annotation (transfer-none) fix that somehow got dropped from last patch
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 8 Jul 2010 19:26:55 +0000 (15:26 -0400)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 8 Jul 2010 19:26:55 +0000 (15:26 -0400)
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
  to avoid double frees

gtk/gtktreemodel.c

index a48df89ed1e356e7e3d5988235a2be693ea3acb7..d9cf4e7b423fa93ce7afd647a001dcbeba517f35 100644 (file)
@@ -632,7 +632,7 @@ gtk_tree_path_get_indices (GtkTreePath *path)
  * It also returns the number of elements in the array.
  * The array should not be freed.
  *
- * Return value: (array length=depth): The current indices, or %NULL.
+ * Return value: (array length=depth) (transfer none): The current indices, or %NULL.
  *
  * Since: 3.0
  **/